Total Complexity | 59 |
Dependencies | 25 |
Dependents | 1 |
Total lines | 577 |
Lines of code | 391 |
Logical lines of code | 163 |
Comment lines | 73 |
Methods | 15 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
cancelSubscription() | 38 | 14 | 71 | |
prepareSubscriptionData() | 42 | 7 | 51 | |
updateExistingPaymentMethod() | 47 | 6 | 38 | |
getRecurringPeriod() | 54 | 6 | 22 | |
getRoutes() | 40 | 1 | 86 | |
addNewPaymentMethod() | 48 | 4 | 34 | |
getSingleSubscription() | 60 | 4 | 13 | |
validateAndGetSubscription() | 62 | 4 | 11 | |
getPaymentMethods() | 54 | 3 | 21 | |
getSubscriptionListPage() | 56 | 3 | 19 | |
permissionCheck() | 78 | 2 | 3 | |
prepareSubscriptionDataById() | 69 | 2 | 7 | |
__construct() | 73 | 1 | 5 | |
processRequest() | 68 | 1 | 7 | |
getPerPageLimit() | 79 | 1 | 3 |